package com.zbkj.crmeb.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.PageParamRequest;
import com.github.pagehelper.PageInfo;
import com.zbkj.crmeb.store.model.StoreBannerSetUp;
import com.zbkj.crmeb.store.request.StoreBannerSetUpRequest;
import com.zbkj.crmeb.store.response.StoreBannerSetUpResponse;


/**
 * banner设置接口
 */
public interface StoreBannerSetUpService extends IService<StoreBannerSetUp> {
    
    /**
     * 分页查询
     * @Description:  
     * @author duyb
     * @param @param request pageParamRequest
     * @param @return
     * @return PageInfo<StoreBannerSetUpResponse>
     * @Date: 2022-10-27
     */
    PageInfo<StoreBannerSetUpResponse> pageEntity(StoreBannerSetUpRequest request,PageParamRequest pageParamRequest);
    
    /**
     * 通过主键查询
     * @Description:  
     * @author duyb
     * @param @param id
     * @param @return
     * @return StoreBannerSetUpResponse
     * @Date: 2022-10-27
     */
    StoreBannerSetUpResponse getEntity(Integer id);
    
    /**
     * 新增/修改
     * @Description:  
     * @author duyb
     * @param @param StoreBannerSetUpRequest
     * @return Boolean
     * @Date: 2022-10-27
     */
    Boolean saveEntity(StoreBannerSetUpRequest storeBannerSetUpRequest);

    /**
     * 启用/禁用
     * @Description:
     * @author duyb
     * @param @param id
     * @return Boolean
     * @Date: 2022-11-08
     */
    Boolean enabled(Integer id,Integer status);

}
